﻿using SqlSugar;

namespace _RobotInspection.Entities
{
    /// <summary>
    /// 设备资料类
    /// </summary>
    public class equipment_resource
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public equipment_resource()
        {

        }

        /// <summary>
        /// 设备资料id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long id { get; set; }

        /// <summary>
        /// 设备id
        /// </summary>
        public long equipment_id { get; set; }

        /// <summary>
        /// 资料名称
        /// </summary>
        public string resource_name { get; set; }

        /// <summary>
        /// 资料类型
        /// </summary>
        public string? resource_type { get; set; }

        /// <summary>
        /// 资料路径
        /// </summary>
        public string resource_path { get; set; }

        /// <summary>
        /// 上传人姓名
        /// </summary>
        public string? uploader { get; set; }
        
        /// <summary>
        /// 上传时间
        /// </summary>
        public DateTime? uploaded_at { get; set; }
    }
}
